package jwr.basic;

public class J20_BookdbVO {
	private String id;           // 번호 시퀀스로
	private String title;
	private String publisher;
	private String author; 
	private String regDate;      // 등록일 
	
	// 생성자를 통해 데이터를 초기화함
	// id(pk), regdate는 자동으로 입력되므로
	// 생성자의 매개변수 목록에서 제외
	public J20_BookdbVO() {
	}
	
	public J20_BookdbVO(String title, String publisher,
			String author) {
		this.title = title;
		this.publisher = publisher;
		this.author = author;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getReg() {
		return regDate;
	}
	public void setDate(String regDate) {
		this.regDate = regDate;
	}
	@Override
	public String toString() {
		return "J20_BookdbVO [id=" + id + ", title=" + title + ", publisher="
				+ publisher + ", author=" + author + ", regDate=" + regDate + "]";
	}

}
